<?php
use yii\helpers\Html;
use yii\helpers\Url;
/* @var $this yii\web\View */
$this->title = '我的账户';
?>
<section id="body_h" class='bcolor-f7'>
		<br>
		<div class="modular4">
			<img width="100%" src="<?= Yii::getAlias('@web') . '/' ?>images/salf-top.jpg" alt="我的账户">
			<div class="modular4-con">
				<p class="modular4-con5"><?= number_format($userinfos['userable']+$userinfos['frozen']+$userinfos['uncollected'],2);?></p>
				<p class="modular4-con6"><a href="<?= Url::to('accountself');?>"><img width="100%" src="<?= Yii::getAlias('@web') . '/' ?>images/salf-top1.png" alt="个人"></a></p>
				<p class="modular4-con7"><a href="blank.html"><img width="100%" src="<?= Yii::getAlias('@web') . '/' ?>images/salf-top2.png" alt="商城"></a></p>
			</div>
		</div>
		<div class="modular6">
			<a class="modular6-topa" href="<?= Url::to('accountdetail');?>">
				<img width="100%" height="100%" src="<?= Yii::getAlias('@web') . '/' ?>images/self-con1.png" alt="点击详情">
				<span>点击详情</span>
			</a>
			<table class="modular6-con">
				<tr>
					<td class="Greenbgcolor padding-t"><div class="white-borderr"><p>冻结总额</p><p><?= number_format($userinfos['frozen'],2);?></p></div></td>
					<td class="Greenbgcolor padding-t"><div><p>可用余额</p><p><?= number_format($userinfos['userable'],2);?></p></div></td>
				</tr>
				<tr>
					<td class="qGreenbgcolor padding-b"><div class="white-borderr"><p class='GGreenbgcolor'>待收总额</p><p class="yycolor"><?= number_format($userinfos['uncollected'],2);?></p></div></td>
					<td class="qGreenbgcolor padding-b"><div><p class='GGreenbgcolor'>待收利息</p><p class="yycolor"><?= number_format($userinfos['interest'],2);?></p></div></td>
				</tr>
			</table>
		</div>
		<p class="modular7 clearfix"><a class="float-left bgw-cob" href="<?= Url::to('recharge');?>">充值</a><a class="float-right bgb-cow" href="/">买入</a></p>
		<div class="footer-h"></div>
	</section>
	<section id="footer">
			<ul class="footer-nav clearfix">
			    <li class="current-bot">
			        <a href="<?= Url::to('main');?>">
			            <img src="<?= Yii::getAlias('@web') . '/' ?>images/footer1-on.png" alt="">
			            首页
			        </a>
			    </li>
			    <li>
			        <a href="<?= Url::to('member');?>">
			            <img src="<?= Yii::getAlias('@web') . '/' ?>images/footer2.png" alt="">
			            我的账户
			        </a>
			    </li>
			    <li>
			        <a href="<?= Url::to(['company/about']);?>">
			            <img src="<?= Yii::getAlias('@web') . '/' ?>images/footer3.png" alt="">
			            关于我们
			        </a>
			    </li>
			</ul>
	</section>